#define _CRT_SECURE_NO_WARNINGS 1
#include"SList.h"
//void test1()
//{
//	STListnode* plist = NULL;
//
//	STLPushback(&plist, 1);
//	STLPushback(&plist, 2);
//	STLPushback(&plist, 3);
//	STLPushback(&plist, 4);
//	STLprint(plist);
//
//}
void test2()
{

	STListnode* plist = NULL;

	STLPushback(&plist, 1);
	STLPushback(&plist, 2);
	STLPushback(&plist, 3);
	STLPushback(&plist, 4);
	STLprint(plist);

	STLPopfront(&plist);
	STLprint(plist);
	STLPopfront(&plist);
	STLprint(plist);
	STLPopfront(&plist);
	STLprint(plist);
	STLPopfront(&plist);
	STLprint(plist);

	
}


int main()
{

	//test1();
	test2();
	return 0;
}